#include<stdio.h>
#include<math.h>
int main()
{
   float x1,x2,disc;

   int a,b,c;

   scanf("%d%d%d",&a,&b,&c);

   disc=b*b-4*a*c;

   x1=(-b+sqrt(disc))/(2*a);

   x2+(-b-sqrt(disc))/(2*a);

   printf("x1=%.2f\nx2=%.2f\n",x1,x2);

   return 0;

}